// web/src/components/auth/error-card.tsx
import React from 'react';
import CardWrapper from "@/components/auth/card-wrapper";
import {ExclamationTriangleIcon} from "@radix-ui/react-icons";

const ErrorCard = () => {
    return (
        <CardWrapper headerLabel={'Oops! Something went wrong!'}
                     backButtonLabel={'Back to login'} backButtonHref={`/auth/login`}>
            <div className={`w-full flex justify-center items-center`}>
                <ExclamationTriangleIcon className={`text-destructive`}/>
            </div>
        </CardWrapper>
    );
};

export default ErrorCard;